package com.seari.custody.enums;

import java.util.Objects;

/**
 * @author lxv1
 */
public enum MeetingFileType  {
    MEETING_FILES("1", "会议补充文件"),
    MEETING_NOTIFY("2", "会议通知单"),
    MEETING_TALK_TEXT("3", "会议纪要"),
    MEETING_SIGN_IN("4", "会议签到单"),
    MEETING_NOTE("5", "会议备忘录"),
    MEETING_VOICE("6", "会议语音"),
    OUTLINE_PROJECT_WORD("7", "监护大纲WORD"),
    OUTLINE_PROJECT_PDF("9", "监护大纲PDF"),
    PRICE_LIST("8", "报价清单")
    ;


    private String code;
    private String description;

    MeetingFileType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    boolean equals(MeetingFileType other){
        return Objects.equals(this.code,other.code);
    }

}
